package com.example.webbasic.listener;

import javax.servlet.annotation.WebListener;

import org.springframework.context.ApplicationListener;
import org.springframework.context.event.ContextStartedEvent;
import org.springframework.stereotype.Component;

/**
 * 未生效，TODO
 * @author ben
 * @date 2021-11-06 20:33:37 CST
 */
@Component
public class AppContextStartedListener implements ApplicationListener<ContextStartedEvent> {

	@Override
	public void onApplicationEvent(ContextStartedEvent event) {
		System.out.println("ContextStartedEvent event=" + event + ", 启动");
	}

}
